import type { Gender } from '../enums';

export type UserDto = {
    'UserShape/PASSWORD_LESS': {
        readonly id: number, 
        readonly createTime: string, 
        readonly updateTime: string, 
        readonly username: string, 
        readonly nickname?: string, 
        readonly avatar?: string, 
        readonly gender?: Gender, 
        readonly email?: string, 
        readonly mobile?: string
    }, 
    'UserShape/PASSWORD_LESS_WITH_ROLE_IDS': {
        readonly id: number, 
        readonly createTime: string, 
        readonly updateTime: string, 
        readonly username: string, 
        readonly nickname?: string, 
        readonly avatar?: string, 
        readonly gender?: Gender, 
        readonly email?: string, 
        readonly mobile?: string, 
        readonly roleIds: ReadonlyArray<number>
    }
}